package de.fmaul.dicheck.model;

import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.util.UUID;

public class TestContainer implements Configurable {

    private final Properties properties;
    private final List<TestContainer> subContainers = new ArrayList<TestContainer>();
    private final List<TestCase> testCases = new ArrayList<TestCase>();
    private final String name;
    private final String id = UUID.randomUUID().toString();

    public TestContainer(final String name, final Properties props) {
        this.name = name;
        this.properties = props;
    }

    public Properties getProperties() {
        return properties;
    }

    public List<TestCase> getTestCases() {
        return testCases;
    }

    public List<TestContainer> getSubContainers() {
        return subContainers;
    }

    public String getName() {
        return name;
    }

    public String getId() {
        return id;
    }
}
